package com.canaan.business.domain.bill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 订单详细纪录对象 wms_bill_detail_record
 *
 * @author canaan
 * @date 2025-03-28
 */
@ApiModel(description = "wms_bill_detail_record")
@TableName("wms_bill_detail_record")
public class BillDetailRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty("编号")
    private String billNo;


    /** 单据类型 1新建 2进行中 3已完成 */
    @Excel(name = "单据类型 1新建 2进行中 3已完成")
    @ApiModelProperty("单据类型 1新建 2进行中 3已完成")
    private Integer billType;

    /** 托盘号 */
    @Excel(name = "托盘号")
    @ApiModelProperty("托盘号")
    private String trayNo;

    /** 库存状态 */
    @Excel(name = "库存状态")
    @ApiModelProperty("库存状态")
    private String stockStatus;

    /** 物料编号 */
    @Excel(name = "物料编号")
    @ApiModelProperty("物料编号")
    private String productNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String productName;

    /** 物料单位 */
    @Excel(name = "物料单位")
    @ApiModelProperty("物料单位")
    private String productUnit;

    /** 生产日期 */
    @Excel(name = "生产日期")
    @ApiModelProperty("生产日期")
    private String productionDate;

    /** 有效日期 */
    @Excel(name = "有效日期")
    @ApiModelProperty("有效日期")
    private String expiryDate;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private Long qty;

    /** 批次号 */
    @Excel(name = "批次号")
    @ApiModelProperty("批次号")
    private String batchNo;

    /** 操作 */
    @Excel(name = "操作")
    @ApiModelProperty("操作")
    private String operation;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("操作")
    private String delFlag;

    public String getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(String productionDate) {
        this.productionDate = productionDate;
    }

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBillNo(String billNo)
    {
        this.billNo = billNo;
    }

    public String getBillNo()
    {
        return billNo;
    }

    public Integer getBillType() {
        return billType;
    }

    public void setBillType(Integer billType) {
        this.billType = billType;
    }
    public void setTrayNo(String trayNo)
    {
        this.trayNo = trayNo;
    }

    public String getTrayNo()
    {
        return trayNo;
    }
    public void setStockStatus(String stockStatus)
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus()
    {
        return stockStatus;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductUnit(String productUnit)
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit()
    {
        return productUnit;
    }
    public void setQty(Long qty)
    {
        this.qty = qty;
    }

    public Long getQty()
    {
        return qty;
    }
    public void setBatchNo(String batchNo)
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo()
    {
        return batchNo;
    }
    public void setOperation(String operation)
    {
        this.operation = operation;
    }

    public String getOperation()
    {
        return operation;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billNo", getBillNo())
            .append("billType", getBillType())
            .append("trayNo", getTrayNo())
            .append("stockStatus", getStockStatus())
            .append("productNo", getProductNo())
            .append("productName", getProductName())
            .append("productUnit", getProductUnit())
            .append("qty", getQty())
            .append("batchNo", getBatchNo())
            .append("operation", getOperation())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
